package net.lanelife.casino.caipiao.dto.admin;

import javax.validation.constraints.NotNull;

import net.lanelife.casino.caipiao.entity.PaymentPlatform.BankChooseSide;
import net.lanelife.casino.common.dto.PersistentDTO;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

public class PaymentPlatformUpdateDTO extends PersistentDTO<Integer> {

	private static final long serialVersionUID = -6473902572292295685L;

	@NotNull
	private Integer id;
	
	@NotBlank
	@Length(min = 2, max = 10)
	private String code;
	
	@NotBlank
	@Length(min = 2, max = 10)
	private String name;
	
	@NotNull
	private BankChooseSide bankChooseSide;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BankChooseSide getBankChooseSide() {
		return bankChooseSide;
	}

	public void setBankChooseSide(BankChooseSide bankChooseSide) {
		this.bankChooseSide = bankChooseSide;
	}

	
}
